<!DOCTYPE HTML>
<html>
<head>
    <meta charset="UTF-8">
    <title>CSS Regions: Transformed region with named flow (fragmentable) content that breaks across multiple regions</title>
    <link rel="author" title="David Alcala" href="mailto:dalcala@adobe.com">
    <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com">
    <link rel="reviewer" title="Mihai Balan" href="mailto:mibalan@adobe.com"> <!-- 2013-07-24 -->
    <link rel="help" href="http://www.w3.org/TR/css3-regions/#the-flow-into-property">
    <link rel="help" href="http://www.w3.org/TR/css3-regions/#the-flow-from-property">
    <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#two-d-transform-functions">
    <link rel="help" href="http://www.w3.org/TR/css3-break/#transforms">
    <link rel="help" href="http://www.w3.org/TR/css3-break/#breaking-rules">
    <link rel="match" href="reference/regions-transforms-020-ref.html">
    <meta name="assert" content="This test checks that the named flow content that is fragmentable (has a break point)
                                 is transformed when it breaks across multiple regions.">
    <style>
    #named-flow {
        width: 100px;
        height: 100px;
        flow-into: f;
    }
    .src-child {
        height: 50px;
        background-color: green;
    }
    .region {
        width: 100px;
        height: 50px;
        margin-left: 10px;
        float: left;
        background-color: red;
        flow-from: f;
        transform: scaleY(2);
        transform-origin: top left;
    }

    .failure-div {
        position: absolute;
        margin-left: 10px;
        background-color: red;
        width: 98px;
        height: 98px;
    }
    .right {
        left: 119px;
    }
    </style>
</head>
<body>
    <p>The test passes if you see two green squares and no red.</p>
    <div class="failure-div"></div>
    <div class="failure-div right"></div>
    <div id="named-flow">
        <div class="src-child"></div>
        <div class="src-child"></div>
    </div>
    <div class="region"></div>
    <div class="region"></div>
    
</body>
</html>